import request from '@/utils/request';
// import instance  from '@/utils/request';
// import axios from 'axios';

// export const getCityWeather = (city) => instance('/weather', "get",{city})

export const getCityWeather = (city) => {
  return request({
    url: "/weather" ,
    method: "get",
    params:{city:city}
  })
}
